<template>
  <div>
    <div>
      <h6>请选择您喜欢的专栏</h6>
      <span v-for="item in arr" :key="item"
        ><input type="checkbox" v-model="arrs" :value="item" /> {{ item }}
      </span>
      <ul>
        <li v-for="item in arrs" :key="item">{{ item }}</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: ["科幻", "喜剧", "动漫", "冒险", "科技", "军事", "娱乐", "奇闻"],
      arrs: [],
    };
  },
};
</script>

<style>
</style>